<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="col-md-6 col-md-offset-3"
                         style="color: rgba(152,33,255,0.8);font-size: 32px;font-weight: bold;margin-bottom: 30px;">短信配置
                    </div>
                </div>

                <table class="table" style="margin-left: 5%;font-size: 18px;color: black;">

                    <tbody>
                    <tr>
                        <td>主机</td>
                        <td th:text="${smstableDO.host}"></td>
                    </tr>
                    <tr>
                        <td>路径</td>
                        <td th:text="${smstableDO.path}">汉族</td>
                    </tr>
                    <tr>
                        <td>方法</td>
                        <td th:text="${smstableDO.method}">1880-06-27</td>
                    </tr>
                    <tr>
                        <td>appcode:</td>
                        <td th:text="${smstableDO.appcode}"></td>
                    </tr>
                    <tr>
                        <td>短信ID</td>
                        <td th:text="${smstableDO.smssignid}"></td>
                    </tr>
                    <tr>
                        <td>模板ID</td>
                        <td th:text="${smstableDO.templateid}">

                        </td>
                    </tr>
                    <tr>
                        <td>备注</td>
                        <td th:text="${smstableDO.beizhu}"></td>
                    </tr>

                    </tbody>
                </table>
                <div class="col-md-6 col-md-offset-3" >
                    <button type="button" class="btn btn-danger" title="编辑" onclick="edit(1)"
                            th:onclick="'javascript:edit(\''+${smstableDO.id}+'\');'">
                        <i class="fa fa-edit"></i>
                        编辑短信配置
                    </button>
                </div>


            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自bootdo的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="system:smstable:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="system:smstable:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="system:smstable:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/system/smstable/smstable.js"></script>
</body>
</html>